package com.jason.bookworm.service;

import com.jason.bookworm.dao.pojo.User;
import com.jason.bookworm.response.Result;

public interface LoginService {
    Result<Object> login(User user);

    Result<Object> logout();

    Result<Object> isLogin(String token);

    Result<Object> register(User user);

    Result<Object> updateUserInfo(User user);
}
